package com.demo2.dao;

import com.demo2.entity.Review;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface ReviewMapper {
    @Select("select * from review where review_product_id = #{id}")
    public List<Review> getReview(Integer id);
}
